Skip to content

docs: Hello World section, stdlib return types, and language reference improvements#2

Merged
walonCode merged 5 commits into
mainfrom
docs/hello-world-and-return-types
Jun 26, 2026
Merged

docs: Hello World section, stdlib return types, and language reference improvements#2
walonCode merged 5 commits into
mainfrom
docs/hello-world-and-return-types

Conversation

@walonCode

Copy link
Copy Markdown
Collaborator

Summary

  • Add a Hello, World! section to the Getting Started page — the simplest possible program showing fmt.print
  • Add a Returns column to every stdlib module table so users know what type each function produces
  • Add default arm to switch examples in the language reference
  • Improve error handling section in the language reference
  • Tighten the Getting Started module examples with output comments
  • Improve stdlib intro example to show typeof alongside return values

Changes

  • docs/app/docs/page.tsx — Hello World section + improved module examples
  • docs/app/docs/stdlib/page.tsx — Returns column across all 12 modules
  • docs/app/docs/language/page.tsx — switch default arm, error handling clarity

Test plan

  • cd docs && bun dev — verify pages load without errors
  • Getting Started page shows Hello World section before the REPL section
  • Stdlib tables show three columns: Function / value, Description, Returns
  • Language reference switch examples include default arm

@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
code-lang Ready Ready Preview, Comment Jun 26, 2026 6:53am

@walonCode walonCode merged commit a32aa85 into main Jun 26, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant